package week02;

import java.math.BigInteger;

public class T020 {
	
	public static void run() {
		BigInteger num = BigInteger.ONE;
		for(int i=2;i<=100;i++) {
			num=num.multiply(BigInteger.valueOf(i));
		}
		char[] charArray = num.toString().toCharArray();
		int sum=0;
		for(int i=0;i<charArray.length;i++) {
			sum+=charArray[i]-'0';
		}
		System.out.println(sum);
	}
	
	public static void main(String[] args) {
		run();
	}

}
